package com.ibeetl.member.entity;

import com.ibeetl.admin.core.entity.BaseEntity;
import com.ibeetl.admin.core.util.ValidateConfig;
import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.SeqID;
import org.beetl.sql.core.annotatoin.Table;

import javax.validation.constraints.NotNull;
import java.util.Date;


/* 
* 
* gen by Spring Boot2 Admin 2020-03-01
*/
@Table(name="member_member")
public class Member extends BaseEntity {

    @NotNull(message = "ID不能为空", groups = ValidateConfig.UPDATE.class)
    @SeqID(name = ORACLE_CORE_SEQ_NAME)
    @AutoID
    private Integer id ;
    //手机号码
    private String phone ;
    //用户名
    private String loginName ;
    //昵称
    private String userName ;
    //用户姓名
    private String name ;
    private String password ;
    private String photo;
    private String domain;
    //邮箱
    private String mail ;
    //自我描述
    private String description ;
    //省份
    private String province ;
    //城市
    private String city ;
    //区县
    private String country ;
    //街道办事处
    private String street ;
    //村落或社区
    private String village ;

    //对应的是File的Id
    private String imageId ;
    private String topBgId;
    private String attachmentId ;
    //创建时间
    private Date createTime ;
    //用户状态 1:启用 0:停用
    private String state ;
    //用户类型
    private String type ;
    //用户类型一级，字典中取值，以逗号分隔
    private String type1 ;
    //用户类型二级，字典中取值，以逗号分隔
    private String type2 ;
    //用户类型三级，字典中取值，以逗号分隔
    private String type3 ;
    public Member(){
    }
    public Integer getId(){
        return  id;
    }
    public void setId(Integer id){
        this.id = id;
    }
    /**手机号码
     */
    public String getPhone(){
        return  phone;
    }
    /**手机号码
     */
    public void setPhone(String phone){
        this.phone = phone;
    }
    /**用户名
     */
    public String getLoginName(){
        return  loginName;
    }
    /**用户名
     */
    public void setLoginName(String loginName){
        this.loginName = loginName;
    }
    /**昵称
     
     */
    public String getUserName(){
        return  userName;
    }
    /**昵称*/
    public void setUserName(String userName){
        this.userName = userName;
    }
    /**用户姓名
     
     */
    public String getName(){
        return  name;
    }
    /**用户姓名*/
    public void setName(String name){
        this.name = name;
    }
    public String getPassword(){
        return  password;
    }
    public void setPassword(String password){
        this.password = password;
    }
    /**邮箱
     
     */
    public String getMail(){
        return  mail;
    }
    /**邮箱*/
    public void setMail(String mail){
        this.mail = mail;
    }
    /**自我描述*/
    public String getDescription(){
        return  description;
    }
    /**自我描述*/
    public void setDescription(String description){
        this.description = description;
    }
    /**省份 */
    public String getProvince(){
        return  province;
    }
    /**省份 */
    public void setProvince(String province){
        this.province = province;
    }
    /**城市*/
    public String getCity(){
        return  city;
    }
    /**城市*/
    public void setCity(String city){
        this.city = city;
    }
    /**区县*/
    public String getCountry(){
        return  country;
    }
    /**区县 */
    public void setCountry(String country){
        this.country = country;
    }
    /**街道办事处*/
    public String getStreet(){
        return  street;
    }
    /**街道办事处*/
    public void setStreet(String street){
        this.street = street;
    }
    /**村落*/
    public String getVillage(){
        return  village;
    }
    /**村落 */
    public void setVillage(String village){
        this.village = village;
    }
    public String getImageId(){
        return  imageId;
    }
    public void setImageId(String imageId){
        this.imageId = imageId;
    }
    public String getAttachmentId(){
        return  attachmentId;
    }
    public void setAttachmentId(String attachmentId){
        this.attachmentId = attachmentId;
    }
    /**创建时间
     
     */
    public Date getCreateTime(){
        return  createTime;
    }
    /**创建时间
     */
    public void setCreateTime(Date createTime){
        this.createTime = createTime;
    }
    /**用户状态 1:启用 0:停用
     
     */
    public String getState(){
        return  state;
    }
    /**用户状态 1:启用 0:停用
     */
    public void setState(String state){
        this.state = state;
    }
    /**用户类型
     */
    public String getType(){
        return  type;
    }
    /**用户类型
     */
    public void setType(String type){
        this.type = type;
    }
    /**用户类型一级，字典中取值，以逗号分隔
     */
    public String getType1(){
        return  type1;
    }
    /**用户类型一级，字典中取值，以逗号分隔
     */
    public void setType1(String type1){
        this.type1 = type1;
    }
    /**用户类型二级，字典中取值，以逗号分隔
     */
    public String getType2(){
        return  type2;
    }
    /**用户类型二级，字典中取值，以逗号分隔
     */
    public void setType2(String type2){
        this.type2 = type2;
    }
    /**用户类型三级，字典中取值，以逗号分隔
     */
    public String getType3(){
        return  type3;
    }
    /**用户类型三级，字典中取值，以逗号分隔
     */
    public void setType3(String type3){
        this.type3 = type3;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    public String getTopBgId() {
        return topBgId;
    }

    public void setTopBgId(String topBgId) {
        this.topBgId = topBgId;
    }
}
